package com.gomtel.smartdevice.moudle.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/5/25 0025.
 * 标准表
 */
@Entity
public class SignsOfDataInfo {

    //主键自增长
    @Id(autoincrement = true)
    private Long id;
    @Unique
    //用户
    private String userName;

    private String userPhoto;

    private String nickName;

    private String sex;

    private String birthday;

    private int height;

    private int weight;

    private int brachium;

    private int stepCountStandard;  //计步标准

    private int caloryStandard;     //卡路里标准

    private int pvhMmHgStandard;    //收缩压标准

    private int ldoMmHgStandard;    //舒张压标准


    public SignsOfDataInfo(String userName, String userPhoto, String nickName, String sex, String birthday, int height, int weight, int brachium, int stepCountStandard, int caloryStandard, int pvhMmHgStandard, int ldoMmHgStandard) {
        this.userName = userName;
        this.userPhoto = userPhoto;
        this.nickName = nickName;
        this.sex = sex;
        this.birthday = birthday;
        this.height = height;
        this.weight = weight;
        this.brachium = brachium;
        this.stepCountStandard = stepCountStandard;
        this.caloryStandard = caloryStandard;
        this.pvhMmHgStandard = pvhMmHgStandard;
        this.ldoMmHgStandard = ldoMmHgStandard;
    }


    @Generated(hash = 355893161)
    public SignsOfDataInfo(Long id, String userName, String userPhoto, String nickName, String sex, String birthday, int height, int weight, int brachium, int stepCountStandard, int caloryStandard,
                           int pvhMmHgStandard, int ldoMmHgStandard) {
        this.id = id;
        this.userName = userName;
        this.userPhoto = userPhoto;
        this.nickName = nickName;
        this.sex = sex;
        this.birthday = birthday;
        this.height = height;
        this.weight = weight;
        this.brachium = brachium;
        this.stepCountStandard = stepCountStandard;
        this.caloryStandard = caloryStandard;
        this.pvhMmHgStandard = pvhMmHgStandard;
        this.ldoMmHgStandard = ldoMmHgStandard;
    }


    @Generated(hash = 464064857)
    public SignsOfDataInfo() {
    }


    public Long getId() {
        return this.id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getUserName() {
        return this.userName;
    }


    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getNickName() {
        return this.nickName;
    }


    public void setNickName(String nickName) {
        this.nickName = nickName;
    }


    public String getSex() {
        return this.sex;
    }


    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getBirthday() {
        return this.birthday;
    }


    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }


    public int getHeight() {
        return this.height;
    }


    public void setHeight(int height) {
        this.height = height;
    }


    public int getWeight() {
        return this.weight;
    }


    public void setWeight(int weight) {
        this.weight = weight;
    }


    public int getBrachium() {
        return this.brachium;
    }


    public void setBrachium(int brachium) {
        this.brachium = brachium;
    }


    public int getStepCountStandard() {
        return this.stepCountStandard;
    }


    public void setStepCountStandard(int stepCountStandard) {
        this.stepCountStandard = stepCountStandard;
    }


    public int getCaloryStandard() {
        return this.caloryStandard;
    }


    public void setCaloryStandard(int caloryStandard) {
        this.caloryStandard = caloryStandard;
    }


    public int getPvhMmHgStandard() {
        return this.pvhMmHgStandard;
    }


    public void setPvhMmHgStandard(int pvhMmHgStandard) {
        this.pvhMmHgStandard = pvhMmHgStandard;
    }


    public int getLdoMmHgStandard() {
        return this.ldoMmHgStandard;
    }


    public void setLdoMmHgStandard(int ldoMmHgStandard) {
        this.ldoMmHgStandard = ldoMmHgStandard;
    }

    public String getUserPhoto() {
        return userPhoto;
    }

    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }
}
